/*
*    Phantom v2.0 GUI Automation Software
*    Copyright (C) 2009  John C. Van Arsdall (john@phantomtest.com)
*
*    This program is free software; you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation; either version 2 of the License, or
*    (at your option) any later version.
*
*    This program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License along
*    with this program; if not, write to the Free Software Foundation, Inc.,
*    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
// FunctionInput.h: interface for the CFunctionInput class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FUNCTIONINPUT_H__3C133E7A_B151_476D_AA16_772329A9E3D5__INCLUDED_)
#define AFX_FUNCTIONINPUT_H__3C133E7A_B151_476D_AA16_772329A9E3D5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ssi_script.h"
#include "ssi_interpreter.h"

class SSI_SCRIPTDLL_API CFunctionInput : public CScript//public CInput  
{
public:
	virtual SSI_BOOL Run(SSI_INT64 Mode, CInterpreter* inInterp);
	SSI_BOOL AddLine(CScriptLine &aLine);
	virtual SSI_BOOL GetNextLine(CScriptLine &Ret);
	void SetFunctionName(const String& Name);
	CFunctionInput(ssi_stream* an_input, ssi_stream* an_output);
	virtual ~CFunctionInput();

  SSI_BOOL bReturnState;
  CVariable ReturnVar;

protected:
};

#endif // !defined(AFX_FUNCTIONINPUT_H__3C133E7A_B151_476D_AA16_772329A9E3D5__INCLUDED_)



